﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductList.aspx.cs" Inherits="com.huigo.B2B.Web.ProductList"
    MasterPageFile="~/master/Main.Master" %>

<%@ Register Assembly="AspnetPagerV1" Namespace="AspnetPagerV1" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>
        <%=insType %></h2>
    <asp:Repeater runat="server" ID="rptProduct">
        <ItemTemplate>
            <table class="table table-bordered table-striped responsive-utilities">
                <thead>
                    <tr>
                        <th colspan="4">
                            <img src="/img/logo/<%#Eval("CompanyLogo") %>" /><a href="ProductDetail.aspx?id=<%#Eval("ProductId") %>"
                                style="color: Black;"><%#Eval("ProductName") %></a>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td colspan="3">
                            <code>保险时间</code>&nbsp;&nbsp;<%#Eval("ProductTimeDesc")%>
                        </td>
                        <td rowspan="3" style="width: 20%">
                            <br />
                            保费&nbsp;&nbsp<del><%#string.Format("{0:C2}",  Convert.ToDecimal(Eval("ProductPrice")))%></del><br />
                            <br />
                            <%#ShowRealPrice(string.Format("{0:C2}", Convert.ToDecimal(Eval("ProductSettlePrice"))), Eval("ProductId").ToString())%><br />
                            <br />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <%#Eval("ProductFeature")%>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <%#Eval("ProductIntro")%>
                        </td>
                    </tr>
                </tbody>
            </table>
        </ItemTemplate>
    </asp:Repeater>
    <cc1:Pager ID="pageInfo" runat="server" OnPageChanged="pageInfo_PageChanged" PageSize="15"
        PreText="上一页" NextText="下一页" ShowPreNext="true" NumericButtonCount="10" Css="page" />
</asp:Content>
